package com.ai.bitcoin.jpa.service;

import com.ai.bitcoin.jpa.entity.BccDailyInfoCrawl;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author Jason
 * @date 2018/4/4
 **/
public interface BccDailyInfoCrawlService {
    List<BccDailyInfoCrawl> findByBccIdAndBatchNo(String bccId, String batchNo);

    List<BccDailyInfoCrawl> findByBatchNo(String batchNo);

    Page<BccDailyInfoCrawl> findByBatchNo(String batchNo, Pageable pageable);

    void deleteByBatchNo(String batchNo);

}
